#!/bin/bash

cd 20201116112048133_dir/
for num in `seq 750 753`
do
	echo "${num}.C.png copy"
	echo "${num}.D.png copy"
	cp ../20201116112048133_dir.bak/${num}.C.png  ./
	cp ../20201116112048133_dir.bak/${num}.D.png  ./
done

let i=0
for num in `seq 750 753`
do
	echo "${num}.C.png renamed as ${i}.C.png"
	echo "${num}.D.png renamed as ${i}.D.png"
	mv ${num}.C.png  ${i}.C.png
	mv ${num}.D.png  ${i}.D.png
	let i=i+1
done
